#!/usr/bin/env python3
# -*- coding: utf-8 -*-

from setuptools import setup, find_packages
from trustimage.core.version import VERSION

with open('README.md', 'r', encoding='utf-8') as f:
    long_description = f.read()

setup(
    name='trustimage',
    version=VERSION,
    description='CVM image customization tool',
    long_description=long_description,
    long_description_content_type='text/markdown',
    author='Nanhu Lab',
    author_email='zhichao.yan@outlook.com',
    url='https://gitee.com/nanhu-lab/tikit',
    packages=find_packages(),
    package_data={
        'trustimage.core': [
            'script/initramfs/hooks/*',
            'script/initramfs/init-prmount/*',
        ],
    },
    entry_points={
        'console_scripts': [
            'trustimage=trustimage.main:main',
        ],
    },
    install_requires=[
        'requests>=2.25.0',
        'tqdm>=4.60.0',
    ],
    classifiers=[
        'Development Status :: 3 - Alpha',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: MIT License',
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 3.6',
        'Programming Language :: Python :: 3.7',
        'Programming Language :: Python :: 3.8',
        'Programming Language :: Python :: 3.9',
    ],
    python_requires='>=3.6',
) 